import request from '@/axios/request'


// 测试连接
export function testConnection(data) {
    return request({
        url: '/connectionManager/testConnection', method: 'post', data: data
    })
}

// 新增连接
export function insertConnection(data) {
    return request({
        url: '/connectionManager/insertConnection', method: 'post', data: data
    })
}

// 修改连接
export function updateConnection(data) {
    return request({
        url: '/connectionManager/updateConnection', method: 'put', data: data
    })
}

